﻿@model IEnumerable<BugTracker.Models.User>

@{
    ViewBag.Title = "Users";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<fieldset>
<p align="right">
<a href="CreateUser">
<input type = "submit" value = "Create New User" /></a>
</p>

<br />
<center><p>Role Legend:&nbsp;&nbsp; &nbsp; &nbsp;  1-ADMINISTRATOR &nbsp;&nbsp; &nbsp; &nbsp;   2-DEVELOPER &nbsp;&nbsp; &nbsp; &nbsp;   
3-QUALITY ASSURANCE &nbsp;&nbsp; &nbsp; &nbsp; 4-PROJECT MANAGER</p></center>

@using (Ajax.BeginForm("DeleteUser", "Admin", new AjaxOptions
{
    HttpMethod = "GET",
    InsertionMode = InsertionMode.Replace,
    UpdateTargetId = "webgrid"
}))
{
}

<div id="webgrid">
@Html.Partial("_DeleteUser")
</div>
<br />


<p>
@*<center>
<img src="../../Content/themes/base/images/LegendResized.png" /></img>
</center>*@
</p>
</fieldset>
